package org.jeecg.modules.outOrder.entity;

import lombok.Data;

@Data
public class RobotTaskCallbackMsg {
    private String id;
    private String msgType;
    private RequestBody request;

    // 省略getter和setter方法

    public static class RequestBody {
        private Header header;
        private Body body;

        // 省略getter和setter方法

        public static class Header {
            private String clientCode;
            private String cycleId;
            private String channelId;
            private String sourceType;
            private String warehouseCode;
            private String requestId;
            private String version;

            // 省略getter和setter方法
        }

        public static class Body {
            private int taskId;
            private String taskType;
            private String taskStatus;
            private String instruction;
            private String taskPhase;
            private int robotId;
            private String passByCellCode;
            private String externalName;
            private Destination dest;
            private Location destLocation;
            private String destCellCode;
            private int mechanismHeight;

            // 省略getter和setter方法
        }

        public static class Destination {
            private double x;
            private double y;
            private double z;

            // 省略getter和setter方法
        }

        public static class Location {
            private double x;
            private double y;
            private double z;

            // 省略getter和setter方法
        }
    }
}
